package com.jilujia.domain.region;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jilujia.framework.domain.PoEntity;

/**
 * A hotel where users may book stays.
 */
@Entity
@Table(name = "TB_REGION")
public class Region implements PoEntity<Long>, Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1148968929093044001L;

	private Long id;

	private String name;

	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
